home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / ad12.zip / AD.DOC < prev    next >
Text File  |  1991-08-07  |  92KB  |  2,660 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                                    Action Designer                                   Action Designer                                   Action Designer
  24.  
  25.                                     User's Guide                                    User's Guide                                    User's Guide
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                          By                                         By                                         By
  45.  
  46.                                 MetaLogic Corporation                                MetaLogic Corporation                                MetaLogic Corporation
  47.  
  48.  
  49.  
  50.  
  51.  
  52.                The authors of this software make no expressed or
  53.                implied warranty of any kind with regard to this
  54.                software and in no event will be liable for incidental
  55.                or consequential damages arising from the use of this
  56.                product.  The software described in this document is
  57.                furnished under a license and may only be used or
  58.                copied in accordance with the terms of the licensing
  59.                agreement.
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                The information in this document is subject to change
  69.                without notice.
  70.  
  71.                Copyright  1989, 1990, 1991 MetaLogic Corporation.
  72.                All rights reserved.
  73.  
  74.                Action Designer  is a trademark of MetaLogic
  75.                Corporation.
  76.  
  77.                No part of this document may be copied or reproduced in
  78.                any form or by any means without the prior written
  79.                consent of MetaLogic Corporation.
  80.  
  81.  
  82.  
  83.                                 MetaLogic Corporation
  84.                             2060D Avenida de los Arboles
  85.                                       Suite 318
  86.                               Thousand Oaks, CA  91362
  87.  
  88.                                    (805) 529-4498
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                ii            Action Designer User's Guide    08/06/91
  107.  
  108.  
  109.  
  110.  
  111.  
  112.                                   TABLE OF CONTENTS                                  TABLE OF CONTENTS                                  TABLE OF CONTENTS
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.                TABLE OF CONTENTS
  121.                  ..................................................iii
  122.  
  123.  
  124.                FOREWORD............................................1
  125.  
  126.                INTRODUCTION........................................2
  127.  
  128.                FUTURE DIRECTIONS...................................4
  129.  
  130.                BASICS..............................................6
  131.                    Registered vs. Shareware Version................6
  132.                    Sources of Information..........................6
  133.                    Conventions.....................................7
  134.                    System Requirements.............................7
  135.                    Limitations.....................................7
  136.  
  137.                INSTALLATION........................................8
  138.  
  139.                OPERATION...........................................10
  140.                    Starting AD.....................................10
  141.                    Stopping AD.....................................10
  142.                    User Interface..................................10
  143.                        Menus and Boxes.............................11
  144.                        Special Keys................................11
  145.                    Custom Setup....................................12
  146.                        Project Directory...........................13
  147.                        Support Directory...........................13
  148.                        Printers....................................13
  149.                        Use Brackets................................13
  150.                        Report Lines................................14
  151.                        Languages...................................14
  152.                    Custom Languages................................14
  153.                    Opening a Diagram...............................15
  154.                        New Diagrams................................15
  155.                        Existing Diagrams...........................15
  156.                    Saving a Diagram................................16
  157.                        Restoring from Backup.......................16
  158.                    Control Brackets................................16
  159.                        Terminology.................................16
  160.                        Bracket Styles..............................17
  161.                        Inserting Brackets..........................20
  162.                        Deleting Brackets...........................20
  163.                        Stripping Bracket Symbols...................20
  164.  
  165.  
  166.                08/06/91      Action Designer User's Guide         iii
  167.  
  168.  
  169.  
  170.  
  171.  
  172.                        Dragging Bracket Edges......................20
  173.                        Moving and Copying Brackets.................21
  174.                        Deleting, Moving and Copying Mid Lines......21
  175.                        Inserting, Joining and Deleting Mid Lines...22
  176.                        Adjusting Exit Arrows.......................22
  177.                    Editing Diagrams................................23
  178.                    Display Detail Control..........................24
  179.                        Global View.................................25
  180.                        Local View..................................26
  181.                        One-Step Display Changes....................26
  182.  
  183.                PRINTING AND EXPORTING DIAGRAMS.....................27
  184.  
  185.                CUSTOM LANGUAGES....................................28
  186.                    Defining a Language.............................28
  187.                    Selecting a Language............................30
  188.  
  189.                ON-LINE HELP........................................31
  190.  
  191.                SHELL...............................................32
  192.  
  193.                USES FOR AD.........................................33
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                iv            Action Designer User's Guide    08/06/91
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.                                       FOREWORD                                      FOREWORD                                      FOREWORD
  234.  
  235.  
  236.                System engineering requires tools with sufficient
  237.                expressive power to clearly and precisely communicate
  238.                complex ideas.  That is, our tools are the meta
  239.                language with which we describe the behavior of present
  240.                and future systems.  It's axiomatic that no one
  241.                methodology is sufficient or appropriate for every
  242.                task.  Ideally, our systems workshops would be filled
  243.                with the requisite variety of methodologies clearly
  244.                identified as to when and how they should be used.
  245.                But, of course, there are usually just a few tools and
  246.                not always the right ones.
  247.  
  248.                Action diagrams seem to me to be a very good candidate
  249.                for a place on the system engineering workbench.  So, I
  250.                developed AD to serve as the platform for developing a
  251.                CASE tool not merely to produce action diagrams, but
  252.                also as a vehicle for extending the technology.
  253.                Logical extensions include object oriented analysis and
  254.                specification, rapid prototyping, executable
  255.                specifications, code generation and linkages to other
  256.                CASE technologies.
  257.  
  258.                As my understanding of what is needed evolves, I'd like
  259.                try to build on my own experience and that of my
  260.                colleagues to enlarge the available set of tools.   A
  261.                major motivation behind releasing this program as
  262.                Shareware is to gain the benefit of the experience,
  263.                expertise and creativity of the widest possible
  264.                audience.  Since AD is an evolving product, you have a
  265.                major opportunity to contribute to and substantially
  266.                influence the development of a powerful CASE tool.  The
  267.                advantage to you is that AD is likely to incorporate
  268.                features and functions that you regard as important to
  269.                your work.
  270.  
  271.                I am very interested in talking with each user and
  272.                listening to your ideas and criticisms.  I know that
  273.                there is a lot of talent in the user community.   So,
  274.                please register and let me hear from you.
  275.  
  276.  
  277.  
  278.                Lou Barnett
  279.                MetaLogic Corporation
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.                08/06/91      Action Designer User's Guide           1
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.                                     INTRODUCTION                                    INTRODUCTION                                    INTRODUCTION
  294.  
  295.  
  296.                This manual describes the operation of the ACTION                                                          ACTION                                                          ACTION
  297.                DESIGNER               DESIGNER               DESIGNER  (AD) action diagrammer from MetaLogic
  298.                Corporation.
  299.  
  300.                AD is a professional Computer Aided System Engineering
  301.                (CASE) tool.   System  designers and implementors will
  302.                find it useful during all phases of the system life
  303.                cycle.  Database designers can use action diagrams to
  304.                work out and document their data models.  In addition,
  305.                management professionals can use AD to design policies
  306.                and procedures for their operations whether automated
  307.                or not.
  308.  
  309.                Action diagrams have emerged as one of the more
  310.                effective tools for describing and documenting
  311.                hierarchical and recursive relationships and procedural
  312.                components of systems.  Among their virtues are:
  313.  
  314.  
  315.  
  316.                          Effective and concise documentation of
  317.                          requirements and specifications.  The
  318.                          same tool can be used to communicate
  319.                          high and low level specifications and
  320.                          procedural and algorithmic details to
  321.                          users, managers and programmers at the
  322.                          appropriate level of detail.
  323.  
  324.                          Conformity of well structured action
  325.                          diagrams and equivalent data flow and
  326.                          data structure diagrams.
  327.  
  328.                          Adaptability to a wide variety of tasks
  329.                          ranging from the design of whole
  330.                          systems, to data modeling, to the
  331.                          specification of a single algorithm.
  332.  
  333.                          Ease of incremental refinement of
  334.                          requirements beginning with high level
  335.                          descriptions and ending with code
  336.                          generation (pseudo or program language).
  337.  
  338.  
  339.                          Database orientation which ensures a
  340.                          close fit with most applications.
  341.  
  342.                          Language independence making action
  343.                          diagrams multi-disciplinary as well as
  344.  
  345.  
  346.                2             Action Designer User's Guide    08/06/91
  347.  
  348.  
  349.  
  350.  
  351.  
  352.                          applicable to almost all programming
  353.                          environments.
  354.  
  355.                          Ease of teaching and learning.
  356.  
  357.  
  358.                          Design for computerized validation is
  359.                          possible.
  360.  
  361.                          Representation of all structured
  362.                          programming control structures in any
  363.                          real or pseudo language.
  364.  
  365.                          Ease of use and update over the entire
  366.                          system life cycle.
  367.  
  368.                          Maintenance of consistency between
  369.                          external and internal documentation when
  370.                          used as a code generator.
  371.  
  372.                AD works like a specialized word and thought processor
  373.                which knows the rules of action diagramming.  It
  374.                enforces the rules and provides many aids to the
  375.                designer which speed the diagramming process.
  376.                Computerized action diagrams have the additional virtue
  377.                of being easy to create and maintain.  In short, action
  378.                diagrams are flexible and versatile.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                08/06/91      Action Designer User's Guide           3
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.                                   FUTURE DIRECTIONS                                  FUTURE DIRECTIONS                                  FUTURE DIRECTIONS
  414.  
  415.  
  416.                Action diagrams are based upon the idea of an outline.
  417.                Outlines have proven to be an almost universally
  418.                applicable tool for organizing, collating and
  419.                structuring ideas and information.  The major
  420.                innovation of action diagrams to date has been the
  421.                addition of the meta language of control structures
  422.                (brackets).  Automating the production of action
  423.                diagrams yields the additional benefits of enforced
  424.                discipline and ease of change.
  425.  
  426.                This innovation allows us to "talk" about - model - 
  427.  
  428.                systems without getting tangled up in the language of
  429.                the systems themselves.  We need meta languages because
  430.                all languages are defective in one sense - there are
  431.  
  432.                always propositions about the language that cannot be
  433.                expressed in the language.  Think about the difficulty
  434.                of describing the rules for updating accounting ledgers
  435.                using only plain English - even accountants use
  436.  
  437.                diagrams to present the rules.
  438.  
  439.                So, it seems reasonable to attempt to build on the
  440.                assets of action diagrams by extending AD.  Here are
  441.                some of the extensions we are considering.  Please
  442.                register and add your ideas to the list.
  443.  
  444.  
  445.                          Hyper Links                         Hyper Links                         Hyper Links.  Using the hypertext model,
  446.                          hyper links would support traversing
  447.                          interrelated diagrams (and possibly
  448.                          other text files).
  449.  
  450.  
  451.                          Hot Links                         Hot Links                         Hot Links.  Hot links would allow
  452.                          dynamic insertion of program source code
  453.                          from external sources (possibly from a
  454.                          source code control system).  Another
  455.                          use would be insertion of standard
  456.                          action Diagram fragments (which
  457.                          represent reusable logic).
  458.  
  459.                          With the addition of Hot Links, AD would
  460.                          become a powerful code generator.  Logic
  461.                          and code reusability will facilitate
  462.                          rapid prototyping and smooth iterative
  463.                          transition of prototypes to reliable
  464.                          applications.
  465.  
  466.  
  467.  
  468.  
  469.                4             Action Designer User's Guide    08/06/91
  470.  
  471.  
  472.  
  473.  
  474.  
  475.                          Browsers                         Browsers                         Browsers.  Another potential benefit of
  476.                          Hot Links (and Hyper Links) is that AD
  477.                          could be used as an application centered
  478.                          browser - you could browse the code or
  479.                          other logic which actually implements a
  480.                          design.
  481.  
  482.                          Interestingly, you could even create a
  483.                          general purpose browser  by creating an
  484.                          action Diagram which represented the
  485.                          organization of your source code
  486.                          libraries.
  487.  
  488.  
  489.                          Data Dictionary                         Data Dictionary                         Data Dictionary.  A tightly coupled data
  490.                          dictionary would add another essential
  491.                          component.  Used in conjunction with the
  492.                          following extension, computerized
  493.                          diagram validation would be possible.
  494.  
  495.                          Process Inputs and Outputs                         Process Inputs and Outputs                         Process Inputs and Outputs.  Control
  496.                          bracket structures which would
  497.                          explicitly identify process inputs and
  498.                          outputs would be an analog of data flows
  499.                          in data flow diagrams.  Dynamic
  500.                          interaction with a data dictionary would
  501.                          provide immediate validation, immediate
  502.                          dictionary update (with new data
  503.                          elements) and lookup and insertion of
  504.                          existing elements.
  505.  
  506.                          Database Normalization                         Database Normalization                         Database Normalization.  Given the
  507.                          foregoing enhancements, it would be
  508.                          possible to apply database normalization
  509.                          algorithms to the data dictionary to
  510.                          produce a normalized database
  511.                          specification.
  512.  
  513.                          Other Diagram Types                         Other Diagram Types                         Other Diagram Types.  Since there should
  514.                          be a one-to-one correspondence between
  515.                          properly structured action diagrams and
  516.                          Data Flow and Data Structure diagrams,
  517.                          it should be possible to generate such
  518.                          diagrams from an action diagram.  The
  519.                          converse is possible, but is not a
  520.                          likely addition unless a suitable
  521.                          graphic diagramming tool can be
  522.  
  523.                          identified (perhaps EasyCase Plus ).
  524.  
  525.                          Explicit Database Operations                         Explicit Database Operations                         Explicit Database Operations.  The
  526.                          current version does not make provisions
  527.  
  528.  
  529.                08/06/91      Action Designer User's Guide           5
  530.  
  531.  
  532.  
  533.  
  534.  
  535.                          for symbolically representing database
  536.                          operations such as updates and joins.
  537.                          The addition of such symbols might be
  538.                          useful.
  539.  
  540.                          Line Numbers                         Line Numbers                         Line Numbers.  Optional line numbering
  541.                          on reports might be useful for group
  542.                          reviews and proof reading.
  543.  
  544.  
  545.                          Hidden Annotations                         Hidden Annotations                         Hidden Annotations.  A special type of
  546.                          bracket which could contain notes or
  547.                          other commentary and which would
  548.                          generally remain hidden (and printed
  549.                          only on demand) might also facilitate
  550.                          review and documentation.
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.                6             Action Designer User's Guide    08/06/91
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.                                        BASICS                                       BASICS                                       BASICS
  597.  
  598.  
  599.  
  600.  
  601.                Registered vs. Shareware Version               Registered vs. Shareware Version               Registered vs. Shareware Version
  602.  
  603.                The registered version of AD includes features that are
  604.                not available in the shareware version.  In the
  605.                shareware version certain features are limited; you can
  606.                create complete action diagrams but without the
  607.                flexibility that the registered version provides.
  608.                Please consult the accompanying file FEATURES.TXT for a
  609.                discussion of these limitations.
  610.  
  611.  
  612.  
  613.                Sources of Information               Sources of Information               Sources of Information
  614.  
  615.                You will want to learn more about action diagrams.  The
  616.                following books are good sources of information:
  617.  
  618.  
  619.                          Action Diagrams                         Action Diagrams                         Action Diagrams, James Martin and Carma
  620.                          McClure, Prentice Hall, Englwood Cliffs,
  621.                          1989 (2nd ed).  You'll learn almost
  622.                          everything there is to know from this
  623.                          book.
  624.  
  625.                          Other books in the James Martin series
  626.                          including Recommended Diagramming
  627.  
  628.                          Standards,  Structured Techniques; the
  629.                          Basis for CASE and Information
  630.  
  631.                          Engineering; Introduction.  All are
  632.                          published by Prentice Hall.
  633.  
  634.  
  635.                The latter books add some new information and the last
  636.                book describes sophisticated CASE tools which
  637.                incorporate action diagrams.  There is also information
  638.                in the documentation accompanying certain high end CASE
  639.                tools which include action diagramming tools.  You may
  640.                be able to obtain literature from vendors.
  641.  
  642.  
  643.  
  644.                Conventions               Conventions               Conventions
  645.  
  646.                If you are using AD, we assume that you must be
  647.                familiar with computer terminology.  We'll try to keep
  648.  
  649.  
  650.  
  651.                08/06/91      Action Designer User's Guide           7
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                it to a minimum.  But when conventional terminology
  658.                fits, we'll use it.
  659.  
  660.                We use  to stand for the Enter key.  Examples are
  661.                shown in brackets: <filename>.  In such cases the
  662.                brackets should not be typed.  Other keystroke
  663.                combinations are given as Alt, Ctrl or Shift plus a
  664.                letter as in Alt-S.  As usual, this means the Alt and S
  665.                keys pressed simultaneously.  The cursor arrow keys are
  666.  
  667.                given as ?, ?,   and  ?.  In general, keyboard keys are
  668.  
  669.                shown in italics.
  670.  
  671.  
  672.  
  673.                System Requirements               System Requirements               System Requirements
  674.  
  675.                Computer               Computer               Computer: any 100% IBM PC compatible computer.
  676.  
  677.                Operating System               Operating System               Operating System: MSDOS/PCDOS 3.x or higher.
  678.  
  679.                Memory               Memory               Memory: 384Kb or more.
  680.  
  681.                Display               Display               Display: MDA, CGA, EGA or VGA adaptor.  Color is
  682.                prettier but not essential.
  683.  
  684.                Disk               Disk               Disk: AD will operate from either a floppy or hard
  685.                disk.  Obviously, a hard disk is preferable.  AD itself
  686.                requires under 300Kb; individual diagram files will be
  687.                a maximum  of 60Kb (this is an extreme because most
  688.                will be under 20Kb).
  689.  
  690.                Printer               Printer               Printer: any printer capable of displaying the IBM line
  691.                drawing character set.  This is important.  AD will
  692.                print garbage on an incompatible printer.
  693.  
  694.                Mouse               Mouse               Mouse: a Microsoft compatible mouse may be used.  It is
  695.                totally optional and  performance is not degraded by
  696.                the lack of one.
  697.  
  698.  
  699.  
  700.                Limitations               Limitations               Limitations
  701.  
  702.                The only real constraint is on the size of diagrams.
  703.                At the moment, the limit is 60,000 characters, which is
  704.                a very large diagram.  It is hard to imagine a truly
  705.                useful diagram of that size.  But, a future version
  706.                will incorporate a virtual memory capability which will
  707.                allow unlimited size diagrams.
  708.  
  709.  
  710.  
  711.  
  712.                8             Action Designer User's Guide    08/06/91
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.                                     INSTALLATION                                    INSTALLATION                                    INSTALLATION
  720.  
  721.  
  722.                This section describes procedures for installing AD on
  723.                your system.  A future version will include an
  724.                automated installation procedure.  To install AD
  725.                perform the steps below:
  726.  
  727.                     1.   Place the following files in a
  728.                          subdirectory somewhere on your
  729.                          path:
  730.  
  731.  
  732.                               AD.EXE            AD program
  733.  
  734.  
  735.  
  736.                               TSRINT.EXE        Interrupt
  737.                                                 handler used when 
  738.                                                 SHELL won't work
  739.                                                 properly.
  740.  
  741.  
  742.  
  743.                     2.   Create a directory in which to
  744.                          store support files.  This
  745.                          "support" directory will contain
  746.  
  747.                          the following files:
  748.  
  749.  
  750.                               AD.HLP            On line help text
  751.  
  752.  
  753.                               AD.CFG            Configuration file
  754.  
  755.  
  756.                               AD.DOC            User's guide text
  757.                                                 file
  758.  
  759.  
  760.  
  761.                               README.1ST        Last minute
  762.                                                 information
  763.  
  764.  
  765.                               *.PD              Printer drivers
  766.  
  767.  
  768.                               FEATURES.TXT      List of advanced
  769.                                                 features in the
  770.                                                 registered version
  771.  
  772.  
  773.                               REGISTER.TXT      Registration form
  774.  
  775.  
  776.  
  777.                               VERSION.TXT       Known idiosyncrasies
  778.  
  779.  
  780.  
  781.  
  782.  
  783.                08/06/91      Action Designer User's Guide           9
  784.  
  785.  
  786.  
  787.  
  788.  
  789.                               OBJECT.TXT        Discussion of
  790.                                                 experimental 
  791.                                                 Object Oriented Analysis
  792.                                                 features
  793.  
  794.  
  795.  
  796.                               PRINTER.TXT       Custom printer
  797.                                                 specification form
  798.  
  799.  
  800.                               ABOUT.TXT         A message from the
  801.                                                 author
  802.  
  803.  
  804.                               *.LN              Language definitions
  805.                                                 (i.e. GENERIC.LN)
  806.  
  807.  
  808.  
  809.                     3.   Create one or more subdirectories
  810.                          in which you will store action
  811.                          diagrams that you create.   These
  812.                          are referred to as "project"
  813.                          directories.  Place these files in
  814.                          one of the project directories:
  815.  
  816.  
  817.                               *.AD              Various example
  818.                                                 Action Diagrams
  819.  
  820.  
  821.  
  822.                          These will usually be associated
  823.                          with a specific project.
  824.  
  825.                          Only AD.EXE, AD.CFG and AD.HLP are
  826.                          required to operate AD.  You will
  827.                          want to examine the example
  828.                          diagrams.
  829.  
  830.                     4.   Add the following command to your
  831.                          autoexec.bat file:
  832.  
  833.                          SET ADDIR=                         SET ADDIR=                         SET ADDIR=<path>
  834.  
  835.                          where <path> is the location of
  836.                          your support directory.  AD will
  837.                          look for AD.CFG in this
  838.                          subdirectory (or in the current
  839.                          directory if ADDIR isn't set).
  840.                          Reboot your computer.
  841.  
  842.                     5.   Test your installation by typing AD
  843.  
  844.                          at the DOS prompt.  Press Alt-S
  845.                          to display the current setup.
  846.  
  847.                10            Action Designer User's Guide    08/06/91
  848.  
  849.  
  850.  
  851.  
  852.  
  853.                          Enter your project and support
  854.                          paths (including drive), select a
  855.                          printer and default language and
  856.                          set other options as you desire.
  857.                          Save your configuration by pressing
  858.                          Ok.
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.                08/06/91      Action Designer User's Guide          11
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.                                       OPERATION                                      OPERATION                                      OPERATION
  915.  
  916.  
  917.                This section describes procedures for operating AD.
  918.                You will want to review it to become familiar with AD.
  919.                While AD is running, the on-line help system should
  920.                answer most of your questions.
  921.  
  922.  
  923.  
  924.                Starting AD               Starting AD               Starting AD
  925.  
  926.                To start AD perform the following steps:
  927.  
  928.                     1.   Log in to the subdirectory -
  929.                          working subdirectory - in which you
  930.  
  931.                          intend to store your diagram.  This
  932.                          step isn't required in the
  933.                          registered version if you have set
  934.                          the environment variable ADDIR .
  935.  
  936.                     2.   At the DOS prompt, enter AD.
  937.  
  938.                The AD main screen will display and AD is ready for
  939.                use.  Consult the Opening a Diagram section below for
  940.                how to proceed.
  941.  
  942.  
  943.  
  944.                Stopping AD               Stopping AD               Stopping AD
  945.  
  946.                There are two points from which you may wish to exit
  947.                from AD: while you are editing a diagram and when no
  948.                diagram is displayed.
  949.  
  950.                In the first case, press ESC.  A message box will be
  951.                displayed giving you the opportunity to save your
  952.                diagram, abandon it or resume editing.  Save the
  953.                diagram or not as you choose.  The edit window will
  954.                close and the Exit option on the menu bar will be
  955.                activated (i.e., the "X" will be highlighted).  Press
  956.  
  957.                ALT-X to return to DOS.
  958.  
  959.                In the second case, the Exit option will already be
  960.                activated, so press ALT-X to quit.
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.                12            Action Designer User's Guide    08/06/91
  970.  
  971.  
  972.  
  973.  
  974.  
  975.                User Interface               User Interface               User Interface
  976.  
  977.                AD's user interface is similar to that of Microsoft
  978.                Windows.  You may use the keyboard or a mouse to make
  979.                choices from menus.  All displays are within windows
  980.                appropriate to the immediate task.  Certain keystrokes
  981.                are dedicated to specific functions, but many functions
  982.                are most easily performed from menus.  Thus, there are
  983.                very few arcane keystrokes to remember.
  984.  
  985.  
  986.                Menus and Boxes               Menus and Boxes               Menus and Boxes
  987.                You communicate with AD though a simple interface
  988.                consisting of Menus, Message Boxes and Dialog Boxes
  989.                which are special types of pop-up windows.
  990.  
  991.  
  992.  
  993.                          Menus                         Menus                         Menus.  There are two types of menus: a
  994.                          menu bar which is always displayed at
  995.                          the top of the screen and pull-down
  996.                          menus which expand on the choices of the
  997.                          menu bar.  Major functional choices are
  998.                          made from the menu bar and task specific
  999.                          choices are made from the pull-downs.
  1000.  
  1001.                          AD's main menu consists of a menu bar
  1002.                          that is displayed at the top of the
  1003.                          screen and is in view at all times.
  1004.                          Each active option - one which is
  1005.  
  1006.                          available in the current context - has
  1007.  
  1008.                          one of its letters highlighted.
  1009.                          Unavailable options have no letters
  1010.                          highlighted. Pull-down menu options are
  1011.                          similarly tagged as available or
  1012.                          unavailable.
  1013.  
  1014.                          Message Boxes                         Message Boxes                         Message Boxes.  AD displays message
  1015.                          boxes when it has something to tell you.
  1016.                          You may need only to acknowledge the
  1017.                          message or you may have a choice of
  1018.                          actions to take.  Message boxes contain
  1019.                          buttons which display your choices.  The
  1020.                          following section describes how to use
  1021.                          the buttons.
  1022.  
  1023.                          Dialog Boxes                         Dialog Boxes                         Dialog Boxes.  When AD requires that you
  1024.                          enter something such as the name of a
  1025.                          document, it will display a dialog box.
  1026.                          The box may be a simple one with only
  1027.                          blanks to fill in.  Or, it may be more
  1028.  
  1029.  
  1030.  
  1031.                08/06/91      Action Designer User's Guide          13
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.                          complex.  For example, the Document Open
  1038.                          dialog box includes a scrollable window
  1039.                          listing all of the diagrams in the
  1040.                          current subdirectory.   Dialog boxes
  1041.                          also contain buttons.
  1042.  
  1043.                Special Keys               Special Keys               Special Keys
  1044.                Certain keystrokes have special meaning to AD.  They
  1045.                fall into several groups:
  1046.  
  1047.  
  1048.                          Menu Bar Access                         Menu Bar Access                         Menu Bar Access.  Press the ALT key in
  1049.                          combination with the highlighted
  1050.                          character in the desired menu choices.
  1051.                          For example: ALT-D accesses the Document
  1052.                          menu.
  1053.  
  1054.  
  1055.                          Pull-down Menu Access                         Pull-down Menu Access                         Pull-down Menu Access.  Select an item
  1056.                          from a pull-down menu by either pressing
  1057.                          the highlighted character in the desired
  1058.                          menu selection or by using the  or keys
  1059.                          to highlight a selection.  Press  to
  1060.                          choose a highlighted selection.
  1061.  
  1062.                          Dialog Box Access                         Dialog Box Access                         Dialog Box Access.  When a dialog box is
  1063.                          displayed (see the previous section),
  1064.                          you may see a variety of components to
  1065.                          the box such as blanks to fill in, lists
  1066.                          to choose from and buttons to push.  Use
  1067.  
  1068.                          the  (Tab) key to move the cursor from
  1069.                          component to component.
  1070.  
  1071.                          Button Selection                         Button Selection                         Button Selection.  In message and dialog
  1072.                          boxes, the  key is used to move the
  1073.                          cursor from button to button.  Press 
  1074.                          to select the highlighted button.
  1075.                          Buttons may also be selected directly by
  1076.                          pressing ALT key in combination with the
  1077.                          highlighted character in the desired
  1078.  
  1079.                          button followed by .  Typical buttons
  1080.                          are Ok and Cancel to either affirm the
  1081.                          current operation or exit to the next
  1082.                          higher menu.
  1083.  
  1084.                          Diagram Exit                         Diagram Exit                         Diagram Exit.  To stop editing a
  1085.                          diagram, press ESC.  A message box will
  1086.                          display that will give you the
  1087.                          opportunity to save your diagram,
  1088.                          abandon it or resume editing.
  1089.  
  1090.  
  1091.                14            Action Designer User's Guide    08/06/91
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.                          Function Keys                         Function Keys                         Function Keys.  While a diagram is being
  1098.                          edited, the function keys have special
  1099.                          meaning.  This is explained in the
  1100.                          Diagram Editing                         Diagram Editing                         Diagram Editing section.
  1101.  
  1102.  
  1103.                          Mouse                         Mouse                         Mouse.  A Microsoft compatible mouse may
  1104.                          be used to make menu selections.  It has
  1105.                          no other function in the current
  1106.                          version.  Use the mouse to locate the
  1107.                          cursor over the desired option and click
  1108.                          with the left button.
  1109.  
  1110.  
  1111.  
  1112.                Custom Setup               Custom Setup               Custom Setup
  1113.  
  1114.                You may change your custom setup at any time.  You
  1115.                should, of course, set up AD the  first time you use
  1116.                it.
  1117.  
  1118.                At the main screen, press ALT-S to display the Setup
  1119.                Dialog Box.  The following AD features may be
  1120.                customized:
  1121.  
  1122.  
  1123.                Project Directory               Project Directory               Project Directory
  1124.                With the Setup Dialog Box displayed, tab to the Project
  1125.                Path field. You should enter a single letter for your
  1126.                default disk (e.g., C, D) plus a complete path  to your
  1127.                subdirectory (e.g., d:\projects\my project).
  1128.  
  1129.                This disk and directory is the first place AD will look
  1130.                for your diagram files.  The selected path will become
  1131.                the default until changed.
  1132.  
  1133.  
  1134.                Support Directory               Support Directory               Support Directory
  1135.                With the Setup Dialog Box displayed, tab to the Support
  1136.                Path field. You should enter a single letter for your
  1137.                default disk (e.g., C, D) plus a complete path  to your
  1138.                subdirectory (e.g., d:\projects\my project).
  1139.  
  1140.                This disk and directory is the first place AD will look
  1141.                for your configuration and language definition files.
  1142.                The selected path will become the default until
  1143.                changed.
  1144.  
  1145.  
  1146.                Printers               Printers               Printers
  1147.                You must select a printer.  This only needs to be done
  1148.                the first time you run AD or when you change printers.
  1149.  
  1150.  
  1151.                08/06/91      Action Designer User's Guide          15
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.                With the Setup Dialog Box displayed, printer options
  1158.                will be displayed in a list box.  Tab to the box, move
  1159.                the cursor to your printer or a close compatible and
  1160.                press .  The selected printer will become the default
  1161.                until changed.
  1162.  
  1163.                If your printer is not supported, we may be able to
  1164.                create a printer driver for you.  Fill in the form
  1165.                contained in the file PRINTER.TXT and send it to
  1166.  
  1167.                MetaLogic.  We'll do our best to create a driver.
  1168.  
  1169.  
  1170.                Use Brackets               Use Brackets               Use Brackets
  1171.                You may "check" this option by pressing the space
  1172.  
  1173.                bar.  If it is checked, diagrams will be printed and
  1174.                exported with control brackets.  If it is not checked,
  1175.                no brackets will be printed.  You may override this
  1176.                setting at the time of printing.
  1177.  
  1178.  
  1179.                Report Lines               Report Lines               Report Lines
  1180.                It may be necessary to adjust the number of lines
  1181.                printed on a page.  For example, your printer may do an
  1182.                automatic form feed at 60 lines.  Enter the required
  1183.                number of lines here.
  1184.  
  1185.  
  1186.                Languages               Languages               Languages
  1187.                With the Setup Dialog Box displayed, language options
  1188.                will be displayed in a list box.  Tab to the box, move
  1189.  
  1190.                the cursor to the desired language and press .  The
  1191.                selected language will become the default until
  1192.                changed.
  1193.  
  1194.                You may also load a particular language via the
  1195.                Language menu which is described below.
  1196.  
  1197.                This option is limited in the unregistered version.
  1198.                The built-in generic language is the default.  You  may
  1199.                load existing language definitions but may not make
  1200.                modifications or create new languages.
  1201.  
  1202.  
  1203.  
  1204.                Custom Languages               Custom Languages               Custom Languages
  1205.  
  1206.                This is one of the most exciting features of AD.  You
  1207.                can create your own language control structures and use
  1208.                them in place of the default generic language.  In
  1209.                fact, you can have any number of languages available
  1210.  
  1211.  
  1212.  
  1213.                16            Action Designer User's Guide    08/06/91
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.                and use them on demand.  See the Custom Language                                                Custom Language                                                Custom Language
  1220.                section for details on creating your own language.
  1221.  
  1222.                With this menu you may load, edit or print a language
  1223.                specification.
  1224.  
  1225.                To load a language specification, select the Load
  1226.                option.  Either enter a language name (e.g. GENERIC) or
  1227.                tab to the list box to select a language.  This has the
  1228.                effect of making the language the one to use when
  1229.                preparing diagrams.
  1230.  
  1231.                Choose Open to edit an existing language specification
  1232.                for editing.  Select a language as just explained.
  1233.  
  1234.                Choose New to create a new language specification.  AD
  1235.                will display a set of control structures which you may
  1236.                edit to meet your requirements.
  1237.  
  1238.  
  1239.  
  1240.                Opening a Diagram               Opening a Diagram               Opening a Diagram
  1241.  
  1242.                You have the option of either opening an existing
  1243.                diagram for further editing or creating a new diagram.
  1244.                Only one diagram may be edited at a time.  If you
  1245.                already have a document open, close it (saving it first
  1246.                if needed) and press Alt-D to display the Document
  1247.                pull-down menu.  Choose either Open or New from the
  1248.                menu.
  1249.  
  1250.  
  1251.                New Diagrams               New Diagrams               New Diagrams
  1252.                When you open a new diagram, AD displays a diagram
  1253.                consisting of a Title control bracket.  This is the
  1254.                minimum possible diagram.  You will want to fill in the
  1255.                title beginning at the insertion point.
  1256.  
  1257.  
  1258.                               ? * Title
  1259.                               ?
  1260.                               ? * Related actions
  1261.                               ?
  1262.                               ?
  1263.  
  1264.  
  1265.  
  1266.                From this point on, you may insert and edit control
  1267.                brackets (see Control Brackets                             Control Brackets                             Control Brackets for details) and text as
  1268.                required.  Don't neglect to save your diagram before
  1269.                exiting.
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.                08/06/91      Action Designer User's Guide          17
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.                Existing Diagrams               Existing Diagrams               Existing Diagrams
  1282.                When you elect to open an existing diagram, a dialog
  1283.                box will be displayed,  You may type in the name of
  1284.                your diagram or press  to  select from the list of
  1285.                diagrams displayed in the list box.
  1286.  
  1287.  
  1288.                If you type in the name followed by ?, AD will attempt
  1289.  
  1290.                to locate the diagram and, if successful, will display
  1291.                it in the edit window ready for editing.
  1292.  
  1293.                To choose from the diagram list, use the arrow keys to
  1294.                move the highlight to the desired diagram name and
  1295.                press ?.  As above, it will be displayed for editing.
  1296.  
  1297.  
  1298.                In the event that AD is unable to locate your diagram,
  1299.                a message window will tell you of the problem.
  1300.  
  1301.                All diagrams are stored under the name of the diagram
  1302.                with a file extension of ".ad" (e.g., diagram.ad).
  1303.  
  1304.                However, when entering a diagram name, you need only
  1305.                supply the diagram name; AD will supply the extension.
  1306.  
  1307.                AD displays only diagrams with the ".ad" extension in
  1308.  
  1309.                the diagram list box.
  1310.  
  1311.                Note that you may use the Ok or Cancel buttons in place
  1312.                of ? to accept or exit the menu dialog box
  1313.  
  1314.                respectively.
  1315.  
  1316.  
  1317.  
  1318.                Saving a Diagram               Saving a Diagram               Saving a Diagram
  1319.  
  1320.                At any point during the process of editing a diagram
  1321.                you may save your work.  To do so, press Alt-D to
  1322.                display the diagram pull-down menu.  Select  Save or
  1323.                Save As.  If you choose Save, your diagram will be
  1324.                saved under its current name.  If you choose Save As,
  1325.                you will be asked to supply an alternate diagram name
  1326.                under which the diagram will be saved.  In the latter
  1327.                case, there will be two copies (and possibly two
  1328.                versions) of the diagram; one under each name.
  1329.  
  1330.  
  1331.                Restoring from Backup               Restoring from Backup               Restoring from Backup
  1332.                When a diagram is saved, the prior version of the
  1333.                diagram (if any) will be retained in a backup file with
  1334.                the file extension ".bak" (e.g., diagram.bak).  In
  1335.  
  1336.                the event that you need to recover your prior version,
  1337.                exit AD, delete the version with the ".ad" extension
  1338.  
  1339.                and rename the backup version to have the ".ad"
  1340.  
  1341.  
  1342.  
  1343.  
  1344.                18            Action Designer User's Guide    08/06/91
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.                extension.  Alternatively, copy the backup version over
  1351.                the original (i.e., copy diagram.bak diagram.ad).
  1352.  
  1353.  
  1354.  
  1355.                Control Brackets               Control Brackets               Control Brackets
  1356.  
  1357.                An action diagram is unique because of the use of
  1358.                control brackets to tag diagram elements.  AD provides
  1359.                bracket styles which represent all of the accepted
  1360.                control structures.  Additionally, AD allows for
  1361.                modification of control brackets through adding and
  1362.                deleting certain components of brackets and changing
  1363.                the scope of a bracket.
  1364.  
  1365.                The most significant aspect of creating an action
  1366.                Diagram is selecting and inserting control brackets.
  1367.                That is because the brackets graphically describe the
  1368.                logic of the diagram.  AD tries to make this process as
  1369.                simple and intuitive as possible; most bracket related
  1370.                operations can be accomplished in one or two
  1371.                keystrokes.
  1372.  
  1373.  
  1374.                Terminology               Terminology               Terminology
  1375.                We will need some "bracket terminology" for the
  1376.  
  1377.                following discussion.  The first line of a bracket is
  1378.                called the Opening Edge, the last line is called the
  1379.                Closing Edge, a line containing a "A" is called an
  1380.  
  1381.                Alternative Line. Any other line is called a Mid Line.
  1382.  
  1383.  
  1384.                               ?  Opening Edge
  1385.                               ?  Mid  Line
  1386.                               ?  Alternative Line
  1387.                               ?  Closing Edge
  1388.                               ?  Mid Line
  1389.  
  1390.  
  1391.  
  1392.                The region between the Opening and Closing Edges is
  1393.                referred to as the Scope of the bracket.  Any bracket
  1394.                contained within the scope of another bracket, is said
  1395.                to be Nested within the enclosing bracket.
  1396.  
  1397.  
  1398.                Bracket Styles               Bracket Styles               Bracket Styles
  1399.                AD supports a variety of bracket styles.  The Custom
  1400.                Language option enables you to substitute your own
  1401.                language constructs for the defaults.  The default
  1402.                language is structured English.  Consult Custom                                                        Custom                                                        Custom
  1403.                Language               Language               Language for details on how to define your own
  1404.                language.  The bracket styles include:
  1405.  
  1406.  
  1407.  
  1408.                08/06/91      Action Designer User's Guide          19
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.                          Title                         Title                         Title.  A complete action diagram will
  1415.                          be created between the opening and
  1416.                          closing portions of this bracket.  Title
  1417.                          brackets may also be inserted elsewhere
  1418.                          in a diagram to identify subsections,
  1419.                          procedures and other related actions.
  1420.  
  1421.                          Notice that "Title" is preceded by
  1422.                          "*".  It indicates that the title is
  1423.  
  1424.                          to be treated as a comment.
  1425.  
  1426.                               ? * Title
  1427.                               ?
  1428.                               ? * Related actions
  1429.                               ?
  1430.                               ?
  1431.  
  1432.  
  1433.                          Iteration or Repetition                         Iteration or Repetition                         Iteration or Repetition.  Encloses one
  1434.                          or more actions which are to be repeated
  1435.                          in accordance with some condition.
  1436.  
  1437.                               ? Type of repetition
  1438.                               ? * Actions to be repeated
  1439.                               ?
  1440.                               ?
  1441.                               ?
  1442.  
  1443.  
  1444.                          The type of repetition may be one of the
  1445.                          following:
  1446.  
  1447.                               WHILE <condition> ... END WHILE
  1448.                               FOR <condition> ... END FOR
  1449.                               DO ... UNTIL <condition>
  1450.  
  1451.                          For example:
  1452.  
  1453.                               ? While more input
  1454.                               ?
  1455.                               ?
  1456.                               ? * Actions to be repeated
  1457.                               ? End While
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.                20            Action Designer User's Guide    08/06/91
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.                          Selection                         Selection                         Selection.  Shows decision conditions
  1481.                          and the alternatives to be taken.
  1482.                          Additional selection components may be
  1483.                          added as needed.  This test has two
  1484.                          forms.
  1485.  
  1486.                               ? If <condition>
  1487.                               ?
  1488.                               ? * Action to perform if
  1489.                                   <condition> is true
  1490.                               ?
  1491.                               ? End If
  1492.                               ? If <condition>
  1493.                               ?
  1494.                               ? * Action to perform if
  1495.                                   <condition> is true
  1496.                               ?
  1497.                               ? Else
  1498.                               ?
  1499.                               ? * Action to perform if
  1500.                                   <condition> is false
  1501.                               ?
  1502.                               ? End If
  1503.  
  1504.  
  1505.                          Any number of Else or Else If clauses
  1506.                          may be inserted into either version.
  1507.                          Just select the action menu and pick the
  1508.                          Else or Else If option from the pull-
  1509.                          down menu.
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.                08/06/91      Action Designer User's Guide          21
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.                          Case                         Case                         Case.  Shows a case structure which
  1544.                          represents mutually exclusive
  1545.                          conditions.  Additional case components
  1546.                          may be added as needed.
  1547.  
  1548.                               ? Case Of: <test>
  1549.                               ?
  1550.                               ? Case <case 1>
  1551.                               ?
  1552.                               ? * Action to perform if <test>
  1553.                               ?   matches <case 1>
  1554.                               ? Case <case n>
  1555.                               3 * Action to perform if <test>
  1556.                               ?   matches <case n>
  1557.                               ? End Case
  1558.                               ?
  1559.  
  1560.  
  1561.  
  1562.                          Sequence                         Sequence                         Sequence.   Encloses one or more actions
  1563.                          to be taken one after the other in
  1564.                          sequence.  Procedures would typically
  1565.                          appear within Sequence bracket.  This
  1566.                          bracket serves as a general purpose
  1567.                          grouping device.
  1568.                               ?
  1569.                               ?
  1570.                               ? * Related actions
  1571.                               ?
  1572.                               ?
  1573.  
  1574.  
  1575.                          Exit/Break                         Exit/Break                         Exit/Break.  To indicate immediate exit
  1576.                          from a bracket, AD will insert an
  1577.                          adjustable arrow.  For example:
  1578.  
  1579.                               ? While
  1580.                               ?
  1581.                               ?
  1582.                               ?    ? If <condition>
  1583.                               ??????  Exit
  1584.                               ?    ?
  1585.                               ?    ? End If
  1586.                               ?
  1587.                               ?
  1588.  
  1589.  
  1590.  
  1591.                          Comments                         Comments                         Comments.  The "*" character is used
  1592.  
  1593.                          to indicate that the line in which it
  1594.                          appears as the first character is to be
  1595.                          taken as a comment.  A number of
  1596.                          illustrations of its use appear in the
  1597.                          preceding examples.
  1598.  
  1599.  
  1600.  
  1601.                22            Action Designer User's Guide    08/06/91
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.                Of course, it isn't essential to use these brackets
  1608.                exactly as shown.  They may be used to describe data
  1609.                models and organize tables of data, for example.
  1610.  
  1611.  
  1612.                Inserting Brackets               Inserting Brackets               Inserting Brackets
  1613.                To insert a control bracket or bracket component into a
  1614.                diagram at any point (i.e., the cursor location), press
  1615.                Alt-A to display the Action pull-down menu.  On this
  1616.                menu you will see options for all the supported control
  1617.                brackets and bracket components.  Select the one you
  1618.                need and it will be inserted into your diagram.
  1619.  
  1620.                Usually, you can insert a bracket wherever you choose.
  1621.                However,  in order to enforce the action diagramming
  1622.                rules, some insertions are prohibited.  For example,
  1623.                you may not insert an "Else" component in other than
  1624.                an "If...End If" type  Selection bracket.  Whenever
  1625.                you attempt to make an inappropriate insertion, AD will
  1626.                beep and not make the insertion.
  1627.  
  1628.                When most brackets are inserted, a  character will
  1629.                identify the point at which you may want to add some
  1630.                additional text.  If not, press the space bar to erase
  1631.                the character.
  1632.  
  1633.  
  1634.                Deleting Brackets               Deleting Brackets               Deleting Brackets
  1635.                You may delete a bracket and all text and brackets
  1636.                within its scope.  To do so, move the cursor to the
  1637.                Opening Edge of the bracket and press F3.  The bracket
  1638.                will be removed.  However, if you made an error, press
  1639.                F4 immediately and the bracket will be restored.
  1640.  
  1641.  
  1642.                Stripping Bracket Symbols               Stripping Bracket Symbols               Stripping Bracket Symbols
  1643.                A control bracket's outline symbols may be removed
  1644.                leaving the contents of its scope intact.  Move the
  1645.                cursor to the Opening Edge of the bracket and press F5.
  1646.                To reverse  this action, or to replace the stripped
  1647.                bracket with one of another type, insert a new bracket
  1648.                (of any type) just above the beginning of the section
  1649.                of the diagram to be enclosed by the new bracket and
  1650.                follow the procedure (see Dragging Bracket Edges                                         Dragging Bracket Edges                                         Dragging Bracket Edges below)
  1651.                for dragging the Closing Edge of the bracket over the
  1652.                section to be enclosed.
  1653.  
  1654.  
  1655.                Dragging Bracket Edges               Dragging Bracket Edges               Dragging Bracket Edges
  1656.                The scope of a bracket may be changed by "dragging"
  1657.  
  1658.                the top or bottom of the bracket up or down to enclose
  1659.  
  1660.  
  1661.  
  1662.                08/06/91      Action Designer User's Guide          23
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.                more or less of the diagram.  To drag a bracket, place
  1669.                the cursor on either the Opening or Closing Edge of the
  1670.                bracket and press:
  1671.  
  1672.  
  1673.                     F1   Move the edge downward.
  1674.  
  1675.                     F2   Move the edge upward.
  1676.  
  1677.                When, while dragging, AD encounters another bracket at
  1678.                the same level in the diagram, it will automatically
  1679.                enclose that bracket in the one being dragged.  If a
  1680.                bracket at a lower level is encountered, it will be
  1681.                excluded from the scope of the one being dragged.
  1682.  
  1683.                AD will not allow you to drag brackets in such a way as
  1684.                to create an illogical construct.  For example, given
  1685.                that you are dragging the Closing Edge of an
  1686.                "If...Else...End If" bracket upward, you will not be
  1687.                permitted to drag the Closing Edge past the "Else"
  1688.                which would leave it outside the scope of the
  1689.                "If...End If" bracket.
  1690.  
  1691.  
  1692.                Alternative Lines may also be dragged by placing the
  1693.                cursor on them and then pressing F1 and F2 as required.
  1694.                Again, AD will not permit an Alternative Line to be
  1695.                moved outside the scope of the enclosing bracket.
  1696.  
  1697.  
  1698.                Moving and Copying Brackets               Moving and Copying Brackets               Moving and Copying Brackets
  1699.                A bracket, and everything within its scope, may be
  1700.                relocated or copied by first deleting it and then
  1701.                reinserting it.
  1702.  
  1703.                To copy                  copy                  copy a bracket, move the cursor to the Opening Edge,
  1704.                press F3 to delete it, press F4  to restore it.  A copy
  1705.                of the bracket will be saved by AD.  Move the cursor to
  1706.                where you want to insert the copy and press F4.
  1707.  
  1708.                To move                  move                  move a bracket, perform all the steps for copying
  1709.                except pressing F4 to restore a  copy at the original
  1710.                location.  That is, delete the bracket from the
  1711.                original location and insert it at the new location.
  1712.  
  1713.                A copy of only the most recently deleted bracket (and
  1714.                the contents of its scope) is maintained.  If you
  1715.                delete another bracket before pressing F4, the original
  1716.                bracket will be lost entirely.  However, you can insert
  1717.                multiple copies of the deleted bracket by repeatedly
  1718.                inserting it where required.
  1719.  
  1720.  
  1721.  
  1722.  
  1723.                24            Action Designer User's Guide    08/06/91
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.                Deleting, Moving and Copying Mid Lines               Deleting, Moving and Copying Mid Lines               Deleting, Moving and Copying Mid Lines
  1730.                One or more Mid Lines may be deleted, moved or copied.
  1731.                As with brackets, the target lines must be selected
  1732.                first.  Place the cursor on the first or last Mid Line
  1733.                to be selected, and press Shift-? or Shift-? to select
  1734.  
  1735.                the line.  AD will highlight the line.  If you continue
  1736.                pressing the selection keys, more lines will be
  1737.                selected below or above the current line depending upon
  1738.                which arrow key you use.  Unselect lines by moving in
  1739.  
  1740.                the opposite direction (i.e., use Shift-? instead of
  1741.                Shift-?).
  1742.  
  1743.  
  1744.                You may unselect-select a group of lines all at once by
  1745.                pressing Shift-Home or by pressing Shift-? or Shift-?
  1746.  
  1747.                until the highlight disappears.
  1748.  
  1749.                Once the required lines have been selected, use the
  1750.                Shift-Del to delete the selected  lines. Use the F4 key
  1751.                as described for brackets (above) to move or copy the
  1752.                selected lines.  A copy of the lines deleted when you
  1753.                press Shift-Del, is maintained by AD so you can  make
  1754.                multiple copies of the selected lines.
  1755.  
  1756.                You may not select entire brackets or portions of
  1757.                brackets using this procedure.  AD will limit the scope
  1758.                of your selection to Mid Lines in order to enforce this
  1759.                rule.  Also, as long as at least one line is
  1760.                highlighted, you will be unable to perform any other
  1761.                procedure than move, copy or delete.
  1762.  
  1763.  
  1764.                Inserting, Joining and Deleting Mid Lines               Inserting, Joining and Deleting Mid Lines               Inserting, Joining and Deleting Mid Lines
  1765.                A blank Mid Line is inserted by pressing Shift-Ins.
  1766.                The new line will be inserted at the line below the
  1767.                cursor.
  1768.  
  1769.                Pressing  at any time will break the current line into
  1770.                two lines.  Therefore, if the cursor is at the end of
  1771.                the line (Hint: press the End key to position the
  1772.  
  1773.                cursor) when  is  pressed, a new line will effectively
  1774.                be inserted below the current line.  If the cursor is
  1775.                at the beginning of the line (press Home), a line will
  1776.                be inserted above the current line.  On the other hand,
  1777.                if the cursor is in the middle of a line, the line will
  1778.                be split at that point.
  1779.  
  1780.                Two lines may be joined by placing the cursor at the
  1781.                end of the first line and pressing  Del. The following
  1782.                line will be joined at the cursor location.
  1783.  
  1784.  
  1785.  
  1786.                08/06/91      Action Designer User's Guide          25
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.                If you press  while the cursor is anywhere on an
  1793.  
  1794.                Opening or Closing Edge or on an Alternative Line, a
  1795.                blank line will be inserted below.  It is not possible
  1796.                to split or join Edge or Alternative lines.
  1797.  
  1798.                Press Shift-Del to delete the Mid Line containing the
  1799.                cursor.  A copy of the line will be saved by AD and may
  1800.                be restored or moved to a new location by pressing F4.
  1801.  
  1802.  
  1803.                Adjusting Exit Arrows               Adjusting Exit Arrows               Adjusting Exit Arrows
  1804.                You will notice that the Action Menu gives you two
  1805.                choices for the Exit arrow: one level or all levels.
  1806.                If you select one level, the arrow will be drawn to
  1807.                indicate an exit to the next higher bracket level.  Of
  1808.                course, exiting all levels results in an arrow exiting
  1809.                all but the outermost Title bracket.  The exit arrow
  1810.                extent may be adjusted by placing the cursor on the
  1811.                exit line and pressing:
  1812.  
  1813.  
  1814.                     Alt-+     Increase the exit level - extend
  1815.  
  1816.                               the arrow to the left.
  1817.  
  1818.                     Alt--     Decrease the exit level - shorten
  1819.  
  1820.                               the arrow towards the right.
  1821.  
  1822.                In either case, AD will beep when you have reached the
  1823.                increase or decrease limit.  You may use this procedure
  1824.                to adjust Break Arrows as well.
  1825.  
  1826.  
  1827.                NOTE: use the unshifted + and - keys; not the gray
  1828.                (keypad) keys.
  1829.  
  1830.  
  1831.  
  1832.                Editing Diagrams               Editing Diagrams               Editing Diagrams
  1833.  
  1834.                Editing consists of ordinary text editing tasks.  The
  1835.                present version of AD supports the following text
  1836.                editing commands:
  1837.  
  1838.  
  1839.  
  1840.                          Insert/Overtype                         Insert/Overtype                         Insert/Overtype.  Press Ins to toggle
  1841.                          between character insert and character
  1842.                          overtype.  Insert mode is indicated by a
  1843.                          large block cursor; overtype by a small
  1844.                          underline cursor.
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                26            Action Designer User's Guide    08/06/91
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.                          Beginning/End of Line                         Beginning/End of Line                         Beginning/End of Line.  The Home key
  1856.                          moves the cursor to the beginning of the
  1857.                          line.  The End key moves it to the end
  1858.                          of the line.
  1859.  
  1860.  
  1861.                          Page Up/Down                         Page Up/Down                         Page Up/Down.  The PgUp and PgDn keys
  1862.                          scroll the display up (backward) and
  1863.                          down (forward) by one display page.
  1864.  
  1865.                          Beginning/End of Diagram                         Beginning/End of Diagram                         Beginning/End of Diagram.  The Ctrl-PgUp
  1866.                          and Ctrl-PgDn keys move the cursor (and
  1867.                          display) to the beginning and end of the
  1868.                          diagram respectively.
  1869.  
  1870.                          Delete/Backspace                         Delete/Backspace                         Delete/Backspace.  The Del and 
  1871.                          (backspace) keys delete the character
  1872.                          under and to the left of the cursor
  1873.                          respectively.
  1874.  
  1875.                          Arrow Keys                         Arrow Keys                         Arrow Keys.  The ?, ?, ? and ? keys move
  1876.  
  1877.                          the cursor in their respective
  1878.                          directions.
  1879.  
  1880.  
  1881.                Display Detail Control               Display Detail Control               Display Detail Control
  1882.  
  1883.                A very useful feature of AD is its ability to display
  1884.                just the level of detail you require.  There are two
  1885.                types of display control: global and local.  Global
  1886.                control allows you to simultaneously expand or contract
  1887.                brackets throughout the entire diagram with one
  1888.                keystroke.  Expanding shows more detail by exposing
  1889.                more deeply nested brackets - those at lower levels.
  1890.  
  1891.                Contraction restricts the amount of detail by
  1892.                collapsing more deeply nested brackets to one line.
  1893.                Local control allows you to contract certain brackets
  1894.                selectively and leave them contracted irrespective of
  1895.                any global changes.
  1896.  
  1897.                When a bracket is contracted, the text on the Opening
  1898.                Edge is displayed with a trailing ellipse (...) to
  1899.                indicate that there is hidden information.
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.                08/06/91      Action Designer User's Guide          27
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.                The following figures illustrate the effects of the two
  1918.                types of display control given the first diagram shown.
  1919.  
  1920.  
  1921.                               ? While no more input
  1922.                               ?
  1923.                               ?    ? If needs formatting
  1924.                               ?
  1925.                               ???????  Exit
  1926.                               ?    ?
  1927.                               ?    ?    ? For  i =  1 to 5
  1928.                               ?    ?    ?
  1929.                               ?    ?    ?
  1930.                               ?
  1931.                               ?    ?
  1932.                                    ?    ?
  1933.                               ?    ? End If
  1934.                               ?
  1935.                               ? End While
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.                28            Action Designer User's Guide    08/06/91
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.                The diagram contracted globally one level:
  1982.  
  1983.  
  1984.                               ? While no more input
  1985.                               ?
  1986.                               ?    ? If needs formatting
  1987.                               ?
  1988.                               ???????  Exit
  1989.                               ?    ? 
  1990.                                                                           For  i =  1 to 5 ...                                     For  i =  1 to 5 ...                                     For  i =  1 to 5 ...
  1991.                               ?    ? End If
  1992.                               ?
  1993.                               ? End While
  1994.  
  1995.  
  1996.  
  1997.                The diagram contracted globally two levels:
  1998.  
  1999.  
  2000.                               ?
  2001.                               ? While no more input
  2002.                               ?  If needs formatting ...
  2003.                                  If needs formatting ...                                 If needs formatting ...
  2004.                               ?
  2005.                               ? End While
  2006.  
  2007.  
  2008.  
  2009.                Selected brackets may be contracted locally as
  2010.                illustrated below:
  2011.  
  2012.  
  2013.                               ? While no more input
  2014.                               ?
  2015.                               ?    ? If needs formatting
  2016.                               ?    ?
  2017.                               ??????  Exit
  2018.                               ?    ?  For  i =  1 to 5 ...
  2019.                                       For  i =  1 to 5 ...                                      For  i =  1 to 5 ...
  2020.                               ?    ? End If
  2021.                               ?
  2022.                               ?
  2023.  
  2024.  
  2025.  
  2026.  
  2027.                The ? character indicates a bracket that has been
  2028.  
  2029.                contracted locally.  Even if the diagram is expanded
  2030.                globally to show more detail, this bracket will remain
  2031.                contracted until explicitly expanded.
  2032.  
  2033.  
  2034.                Global View               Global View               Global View
  2035.                Two keystrokes control the global level of detail
  2036.                displayed:
  2037.  
  2038.  
  2039.                     Ctrl-Left   Contracts the display - reduces the
  2040.                                 amount of detail.
  2041.  
  2042.  
  2043.                     Ctrl-Right  Expands the display -
  2044.                                 increases the level of detail.
  2045.  
  2046.  
  2047.  
  2048.                08/06/91      Action Designer User's Guide          29
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.                Each key press will contract or expand the display by
  2055.                one level.  That is, all brackets at the lowest level
  2056.                will be hidden or displayed simultaneously.
  2057.  
  2058.                However, locally contracted brackets will not be
  2059.                affected by these operations.
  2060.  
  2061.  
  2062.                Local View               Local View               Local View
  2063.                Selective view control is provided by:
  2064.  
  2065.  
  2066.                     Shift-Left  Contracts a selected bracket.
  2067.  
  2068.  
  2069.                     Shift-Right Expands a selected bracket.
  2070.  
  2071.  
  2072.                To select a bracket, place the cursor on the Opening
  2073.                Edge of a bracket to be contracted or expanded and
  2074.                press the necessary key.  Only that bracket will be
  2075.                affected.  All brackets within the scope of the target
  2076.                bracket will be hidden or displayed as required.
  2077.  
  2078.                These keys will only contract brackets not already
  2079.                contracted and will only expand contracted brackets
  2080.                marked with the ? character.  Global display
  2081.  
  2082.                changes will not affect locally hidden brackets.
  2083.  
  2084.  
  2085.                One-Step Display Changes               One-Step Display Changes               One-Step Display Changes
  2086.                Three function keys are provided to expand contracted
  2087.                brackets in one step.
  2088.  
  2089.  
  2090.                     F6   Expands all globally                                 all globally                                 all globally contracted
  2091.                          brackets.
  2092.  
  2093.                     F7   Expands all locally                                 all locally                                 all locally contracted brackets.
  2094.  
  2095.                     F8   Expands all contracted                                 all contracted                                 all contracted brackets of both
  2096.                          types.
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.                30            Action Designer User's Guide    08/06/91
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.                            PRINTING AND EXPORTING DIAGRAMS                           PRINTING AND EXPORTING DIAGRAMS                           PRINTING AND EXPORTING DIAGRAMS
  2119.  
  2120.  
  2121.                AD action diagrams may be printed, or saved in a file,
  2122.                in a variety of formats:
  2123.  
  2124.  
  2125.                          With brackets.  Diagrams are printed as
  2126.                          last saved.
  2127.  
  2128.  
  2129.                          Without brackets.  The text remains and
  2130.                          the bracket symbols are removed.
  2131.  
  2132.                          As program code where comments are
  2133.                          printed as comments and all else is
  2134.                          printed as code.  This is the effect of
  2135.                          using a language specification for a
  2136.                          particular programming language and
  2137.                          printing without brackets.
  2138.  
  2139.                To print or export a diagram to a file, select Print
  2140.                from the Diagram menu to display the print dialog box.
  2141.  
  2142.                Select a diagram to print or export and select check or
  2143.                uncheck the Use Brackets option  to indicate the format
  2144.                desired.  There are buttons for each option listed
  2145.                above.  If the diagram is to be exported to a file,
  2146.                enter the file name; AD will use <diagram.txt> as a
  2147.                default where <diagram> is the name of your diagram if
  2148.                you do not supply another name.
  2149.  
  2150.                Select the Ok button to print or export.  Press Esc or
  2151.                the Cancel button to abort the operation.
  2152.  
  2153.                There is one important rule to remember:  AD prints
  2154.                (exports) the diagram version last saved                                                          - not
  2155.                necessarily the one displayed.  So, save before
  2156.                printing if necessary.
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.                08/06/91      Action Designer User's Guide          31
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.                                   CUSTOM LANGUAGES                                  CUSTOM LANGUAGES                                  CUSTOM LANGUAGES
  2179.  
  2180.  
  2181.                Each phase of the system life cycle requires that we
  2182.                speak a different language.  When talking to end users
  2183.                to define requirements, ordinary English (or your
  2184.                native tongue) is appropriate.  Development of
  2185.                specifications usually involves more structure and
  2186.                something like structured English works well.  Once you
  2187.                are into design, general programming language
  2188.                constructs are useful.  And, obviously, specific
  2189.                programming language statements are needed.
  2190.  
  2191.                AD allows you to define "languages" appropriate to
  2192.  
  2193.                each activity and to intermix them.  That is, you can
  2194.                start with high level specifications in English and
  2195.                structured English and progress to more structured
  2196.                languages as you get more detailed.  All you have to do
  2197.                is tell AD to use a particular language as a default.
  2198.  
  2199.                This option is limited in the unregistered version.
  2200.                The built-in generic language is the default.  You  may
  2201.                load existing language definitions but may not make
  2202.                modifications or create new languages.
  2203.  
  2204.  
  2205.  
  2206.                Defining a Language               Defining a Language               Defining a Language
  2207.  
  2208.                Defining a language consists of supplying the language
  2209.                specific text for each of the control bracket types.
  2210.                Once the definition is complete, you may select the
  2211.                desired language from the menu bar Language pull-down
  2212.                menu.  AD will use your language version whenever you
  2213.                insert a new bracket.
  2214.  
  2215.                You will need to supply specifications for:
  2216.  
  2217.  
  2218.                          Title                         Title                         Title.  You may choose to leave this
  2219.                          entry blank or supply a standard title.
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.                32            Action Designer User's Guide    08/06/91
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.                          Iteration                         Iteration                         Iteration.  There are three types of
  2239.                          iteration known generically as While,
  2240.                          For, and Do.  That is how they are
  2241.                          identified on the Action pull-down menu.
  2242.                          You may prefer to omit closing edge text
  2243.                          (e.g. End For, End While, etc.).  For
  2244.                          programming languages you will want to
  2245.                          supply the statement block indicators.
  2246.                          Examples are the "{}" pair in the "C"
  2247.  
  2248.                          language or "BEGIN" and "END" in
  2249.  
  2250.                          other languages:
  2251.  
  2252.                               ? While ( ) Do
  2253.                               ?
  2254.                               ?
  2255.                               ? Wend
  2256.  
  2257.  
  2258.                          Selection                         Selection                         Selection.  There are two types of
  2259.                          selection brackets: "If...End If" and
  2260.                          "If...Else...End If".   Whatever text
  2261.                          you associate with the "Else" and
  2262.                          "Else If" clauses, will be used
  2263.  
  2264.                          whenever an Else is to be inserted into
  2265.                          an existing If structure.  Add statement
  2266.                          block delimiters if necessary.
  2267.  
  2268.                          Case                         Case                         Case.  The Case structure is not
  2269.                          semantically the same as the If
  2270.                          structure.  So, supply language text
  2271.                          that represents the mutual exclusivity
  2272.                          of this construct.  As in the case of
  2273.                          the If structure, the text associated
  2274.                          with the Case line will be used whenever
  2275.                          a new case is inserted from the Action
  2276.                          menu.  Add statement block delimiters if
  2277.                          necessary.
  2278.  
  2279.  
  2280.                          Sequence                         Sequence                         Sequence.  You should not supply text
  2281.                          for this bracket unless there is a
  2282.                          compelling reason to do so.  This is a
  2283.                          general purpose bracket for grouping
  2284.                          related items.  You can add text as
  2285.                          needed when you actually insert one of
  2286.                          these brackets.
  2287.  
  2288.                          Exit & Break                         Exit & Break                         Exit & Break.  Enter the text you wish
  2289.                          to appear to the right of the Exit and
  2290.                          Break arrows.
  2291.  
  2292.                          Comment Block                         Comment Block                         Comment Block.  Most languages,
  2293.                          particularly programming languages, will
  2294.  
  2295.  
  2296.                08/06/91      Action Designer User's Guide          33
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.                          have their own comment delimiters.  You
  2303.                          should enter a model comment.  For
  2304.                          example,  a "C" language comment would
  2305.  
  2306.                          be given as
  2307.  
  2308.                               ?  /*
  2309.                               ?
  2310.                               3
  2311.                               ? */
  2312.                               ?
  2313.  
  2314.  
  2315.  
  2316.  
  2317.                Follow these steps to define or modify a language:
  2318.  
  2319.  
  2320.                     1.   Press Alt-L to display the Language
  2321.                          menu.  Select New to define a new
  2322.                          language or Open to open an existing
  2323.                          language diagram.
  2324.  
  2325.                     2.   AD will display an action diagram
  2326.                          containing all of the supported  bracket
  2327.                          styles.  You will want to supply the
  2328.                          specific language terminology to be used
  2329.                          for each.  All of the normal editing
  2330.                          functions will be available, but, you
  2331.                          will be unable to insert, delete or
  2332.                          modify the brackets themselves.
  2333.  
  2334.                     3.   When you are done, press Esc and save
  2335.                          the diagram.  The language is now
  2336.                          available for use.
  2337.  
  2338.  
  2339.                (Hint: modify an existing language definition and save
  2340.                the new definition under the name of your new
  2341.                language.)
  2342.  
  2343.  
  2344.  
  2345.                Selecting a Language               Selecting a Language               Selecting a Language
  2346.  
  2347.                Once a language has been defined, it is ready for use.
  2348.                To use a particular language:
  2349.  
  2350.  
  2351.                     1.   Press Alt-L to display the Language
  2352.                          menu.
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.                34            Action Designer User's Guide    08/06/91
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.                     2.   Enter a language name or use the arrow
  2366.                          keys to highlight the name of the
  2367.                          language you want and press .
  2368.  
  2369.                At that point, AD will replace the current language
  2370.                definition with the one you chose.  That language will
  2371.                remain the default until you change it to something
  2372.                else.
  2373.  
  2374.                It should be clear that you can mix more than one
  2375.                language in the same diagram.  Changing languages in
  2376.                midstream will not affect any preexisting diagram
  2377.                elements.  To insert brackets from another language,
  2378.                you'll have to select that language as the default
  2379.                (Hint:  as a shortcut, you can also insert a similar
  2380.                bracket from the current language and edit its language
  2381.                text).
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.                08/06/91      Action Designer User's Guide          35
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.                                     ON-LINE HELP                                    ON-LINE HELP                                    ON-LINE HELP
  2427.  
  2428.  
  2429.                AD's on-line help is available at all times.  To
  2430.                activate it, press Alt-H.  The help index will display.
  2431.                Move the highlight to the desired topic and press .
  2432.  
  2433.                Some help texts are longer than one screen length.  Use
  2434.                PgDn and PgUp to scroll  forward and backward.  You may
  2435.                also use your mouse to scroll via the vertical scroll
  2436.                bar on the right side of the screen.
  2437.  
  2438.                Select the Topics button to return to the index.  The
  2439.                Esc key or the Cancel  button will exit Help.
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.                36            Action Designer User's Guide    08/06/91
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.                                         SHELL                                        SHELL                                        SHELL
  2487.  
  2488.  
  2489.                This option allows you to temporarily exit from AD and
  2490.                return to the DOS prompt.  Only about 23K of AD will
  2491.                remain in memory.  When you are ready to return to AD,
  2492.                enter Exit at the DOS prompt.
  2493.  
  2494.                Some systems won't allow AD to create a shell properly.
  2495.                You will be informed that a particular interrupt is
  2496.                unsafe.  In these cases, exit AD and run TSRINT.EXE
  2497.                (you may want to install it from your AUTOEXEC.BAT
  2498.                file) before running AD again.  This should solve the
  2499.                problem.
  2500.  
  2501.                If you encounter the unsafe condition or the TSRINT
  2502.                solution doesn't work, please contact us.
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.                08/06/91      Action Designer User's Guide          37
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.                                      USES FOR AD                                     USES FOR AD                                     USES FOR AD
  2547.  
  2548.  
  2549.                In the Introduction                      Introduction                      Introduction we suggested a number of possible
  2550.                uses for AD.  We'd like to expand on those ideas just a
  2551.                bit.  Action diagrams are useful to many professionals,
  2552.                not just systems analysts and programmers for whom the
  2553.                applications should be obvious.  Here are some of the
  2554.                ways in which others might apply action diagrams.
  2555.  
  2556.  
  2557.                          Industrial engineers: defining work
  2558.                          methods and procedures.
  2559.  
  2560.  
  2561.                          Procedure manual authors:  describing
  2562.                          complex procedures for business
  2563.                          operations.
  2564.  
  2565.                          Accountants: document bookkeeping and
  2566.                          related tasks.
  2567.  
  2568.                          Auditors (all kinds): define audit
  2569.                          procedures and rules to be followed by
  2570.                          those they audit.
  2571.  
  2572.                          Emergency personnel:  concisely describe
  2573.                          emergency procedures for rapid access at
  2574.                          critical times.
  2575.  
  2576.  
  2577.                          Negotiators:  lay out negotiating
  2578.                          strategies as a series of steps to
  2579.                          follow under various scenarios.
  2580.  
  2581.                          Trainers: reduce complex procedures to
  2582.                          straightforward, easy to communicate
  2583.                          steps.
  2584.  
  2585.                          Diagnosticians and repair technicians:
  2586.                          create comprehensive diagnostic tools.
  2587.  
  2588.                          Managers: document management procedures
  2589.                          for almost any activity.
  2590.  
  2591.  
  2592.                          Expert system developers: create
  2593.                          production (rule based) expert systems.
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.                38            Action Designer User's Guide    08/06/91
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.                          Researchers and librarians: create
  2606.                          taxonomies for classification of
  2607.                          research and other materials.
  2608.  
  2609.                In short, anywhere that there are decisions to be made
  2610.                and steps to be taken as a result, action diagrams can
  2611.                be applied to very good effect.  If the brackets seem
  2612.                out of place (as they would be in many contexts), it is
  2613.                possible to print diagrams without the brackets.
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.                08/06/91      Action Designer User's Guide          39
  2660.